package lean;
import java.util.Arrays;
import java.util.Scanner;
public class gf {
    public static void main(String[] args) {
        int num[][] = {{12,13,14,45,56},{89,76,65,54,34},{1,2,3,4,5},{2,3,45,6,7},{56,56,67,78,78,8}};
        System.out.println("请输出总成绩:");
        for(int i=0;i<5;i++){
            int sum=0;
            for(int j=0;j<5;j++){
                sum+=num[i][j];
            }
            System.out.println("第"+(i+1)+"班级的成绩是:"+sum);
        }

    }


}
